#pragma once

#include <functional>
#include <vector>
#include <iostream>

void task_0()
{
    std::cout << "child do a job:task_0" << std::endl;
}

void task_1()
{
    std::cout << "child do a job:task_1" << std::endl;
}

void task_2()
{
    std::cout << "child do a job:task_2" << std::endl;
}

void task_3()
{
    std::cout << "child do a job:task_3" << std::endl;
}

void task_4()
{
    std::cout << "child do a job:task_4" << std::endl;
}

void task_5()
{
    std::cout << "child do a job:task_5" << std::endl;
}

std::vector<std::function<void(void)>> taskList { 
    task_0, task_1, task_2,
    task_3, task_4, task_5 };